Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@davidsh
Copy link
Contributor

@davidsh davidsh commented Feb 20, 2016

Building on PR #6250, added more response stream tests dealing with invalid response body transfer semantics.

I still plan to move the localhost server (recently added to these Http tests) to be Azure based.in the near future.

@davidsh
Copy link
Contributor Author

davidsh commented Feb 20, 2016

@stephentoub @CIPop PTAL

@davidsh
Copy link
Contributor Author

davidsh commented Feb 21, 2016

@davidsh
Copy link
Contributor Author

davidsh commented Feb 21, 2016

Test Innerloop OSX Debug Build and Test please

Building on PR #6250, added more response stream tests dealing with
invalid response body transfer semantics.
ContentLengthTooLarge,
ChunkSizeTooLarge,
MissingChunkTerminator
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a flags enum so that multiple failure conditions can be specified, or are they mutually exclusive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only two that could be combined as flags would be ChunkSizeTooLarge and MissingChunkTerminator, i.e. both of the invalid conditions could be present. But I currently don't test for that. ContentLengthTooLarge is basically mutually exclusive with the other two chunk related errors. I didn't think it was necessary to test every combination of the chunked failures.

@stephentoub
Copy link
Member

A few comments, otherwise LGTM.

@stephentoub
Copy link
Member

LGTM

stephentoub added a commit that referenced this pull request Feb 21, 2016
Add more Http response stream tests
@stephentoub stephentoub merged commit 363c673 into dotnet:master Feb 21, 2016
@davidsh davidsh deleted the responsestream_tests branch February 21, 2016 15:22
@karelz karelz modified the milestones: 1.0.0-rtm, 1.2.0 Dec 3, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Add more Http response stream tests

Commit migrated from dotnet/corefx@363c673
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants